package com.yzf.wisecoder.wisecodercommon.constant;

/**
 * @author jianghuiyong
 * @Description 常量
 * @date 2020/5/8 20:32
 */
public interface Constant {

    String USERID = "userId";

    String ADMIN = "ADMIN";

    enum DATASOURCETYPE {
        /**
         * 数据库
         */
        DYNAMIC("dynamic"),
        /**
         * 静态数据
         */
        STATIC("static");

        private String type;

        DATASOURCETYPE(String type) {
            this.type = type;
        }

        public String getType() {
            return type;
        }

    }
}
